<template>
  <article class="page">
    <headerbar>学员
    </headerbar>
    <!--学员名单-->
    <section class=" pdv-3">
      <section class="people-list ">

        <div class="people-item bg-white block" v-for="item in data" @click="goPjList(item)">
          <section class="people-info">
            <span class="name">{{item.userName}}</span>
          </section>
          <span class="">
            </span>
        </div>
      </section>
      <div class="text-center no-data" v-if="data.length===0">
        <img src="../../../../static/images/no_data.png" alt="">
        <p>暂无数据</p>
      </div>
    </section>
  </article>
</template>

<script>
  import _ from 'lodash'
  export default {
    data () {
      return {
        data: []
      }
    },
    created () {
      this.data = this.$store.state.appraiseManageStudentList || []
    },
    methods: {
      goPjList (data) {
        this.$store.state.appraiseManagePjList = data.pjList
        this.$router.push({path: `/appraiseManagePjList`})
      }
    }
  }
</script>

<style scoped>

</style>
